﻿@model List<EquipmentManager.Entities.EquipmentBase>

@{
    Layout = null;
}

<table class="bordered">
    <thead>
        <tr>
            <th>Инвентарный номер</th>
            <th>Серийный номер</th>
            <th>Название</th>
            <th>Описание</th>
            <th>Год введения</th>
            <th>Состояние</th>
            <th>Примечание</th>
            <th>Перейти</th>
        </tr>
    </thead>
    @foreach (var equipment in Model)
    {
        <tr>
            <td>@equipment.Number</td>
            <td>@equipment.SerialNumber</td>
            <td>@equipment.Name</td>
            <td>@equipment.Description</td>
            <td>@equipment.Year</td>
            <td>@equipment.State</td>
            <td><pre>@equipment.Note</pre></td>
            <td class="Center column-detail">@Html.ActionLink("Перейти", "Equipments", "Admin", new { PostOfficeId = equipment.PostOffice.Id }, new { @class = "common-btn BlueColor" })</td>
        </tr>
    }
</table>